// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity.p_a;

import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import java.util.ArrayList;
import java.util.List;

public class cls_aj extends BaseAdapter
{

    public cls_aj(int i)
    {
        a = null;
        a = new ArrayList(i);
        for(int j = 0; j < i; j++)
            a.add(null);

    }

    public cls_aj(List list)
    {
        a = null;
        a = list;
    }

    protected View a(int i, ViewGroup viewgroup)
    {
        throw new RuntimeException("You must override newView()!");
    }

    public boolean areAllItemsEnabled()
    {
        return false;
    }

    public int getCount()
    {
        return a.size();
    }

    public Object getItem(int i)
    {
        return a.get(i);
    }

    public long getItemId(int i)
    {
        return (long)i;
    }

    public int getItemViewType(int i)
    {
        return i;
    }

    public View getView(int i, View view, ViewGroup viewgroup)
    {
        View view1 = (View)a.get(i);
        if(view1 == null)
        {
            view1 = a(i, viewgroup);
            a.set(i, view1);
        }
        return view1;
    }

    public int getViewTypeCount()
    {
        return getCount();
    }

    public boolean isEnabled(int i)
    {
        return false;
    }

    private List a;
}
